package com.qf.mapper;

import com.qf.pojo.Fangxing;
import com.qf.pojo.FangxingExample;
import com.qf.pojo.Jiudian;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FangxingMapper {
    //传入酒店ID查房型，且房型数>0 返回list<fangxing>
    List<Fangxing> selectFangxingByJid(Integer jid);

    //查询所有
    List<Fangxing> selectAll();

    int countByExample(FangxingExample example);

    int deleteByExample(FangxingExample example);

    int deleteByPrimaryKey(Integer fid);

    int insert(Fangxing record);

    int insertSelective(Fangxing record);

    List<Fangxing> selectByExample(FangxingExample example);

    Fangxing selectByPrimaryKey(Integer fid);

    int updateByExampleSelective(@Param("record") Fangxing record, @Param("example") FangxingExample example);

    int updateByExample(@Param("record") Fangxing record, @Param("example") FangxingExample example);

    int updateByPrimaryKeySelective(Fangxing record);

    int updateByPrimaryKey(Fangxing record);
}